package com.dk.service;

import com.dk.pojo.Rights;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface RightsService {

    List<Rights> getInfo();

    PageInfo<Rights> show(Integer pageNumber, Integer pageSize);

    boolean addInfo(Rights rights);

    Rights toUpdatet(Integer id);

    boolean updateInfo(Rights rights);

    boolean deleteInfo(Integer id);

    Rights selectById(Integer id);
}
